package com.wx.entity;

import com.wx.common.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "sys_address")
@Data
public class SysAddress extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 7954417202960665501L;
    /**
     * 地址编码
     */
    private String code;

    /**
     * 父编码
     */
    @Column(name = "parent_code")
    private String parentCode;

    /**
     * 地址名称
     */
    private String name;

    /**
     * 层级
     */
    private Integer level;

    /**
     * 排序编号
     */
    private Integer status;


    private Integer sort;

}